<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>首页</title>
    <link rel="stylesheet" href="/css/base.css">
    <link rel="stylesheet" href="/css/example.css">
    <script src="/js/jquery-1.8.3.min.js"></script>
    <script src="/js/qrcode.js"></script>
</head>
<body>
    <header class="header">
        <div class="header-top">
            <div class="header-top__wrap">
                <div class="logo"><img src="/img/logo.png"></div>
                <div class="logo-txt"><img src="/img/logo-txt.png"></div>
                <div class="contact">
                    <p class="name">咨询热线：</p>
                    <p class="phone">400-026-2021</p>
                </div>
            </div>
        </div>
        <div class="header-menu">
            <div class="header-menu__wrap">
                <div class="header-menu__list">
                    <div class="header-menu__list-cell">
                        <a href="/index.html">首页</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/desc.html">产品介绍</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a>产品报价</a>
                        <div class="menu-fixed">
                            <div class="menu-fixed-list">
                                <a href="/quoted_transparent.html" class="menu-fixed-list-cell">透明膜</a>
                                <a href="/quoted_color.html" class="menu-fixed-list-cell">改色膜</a>
                                <a href="/quoted_sun.html" class="menu-fixed-list-cell">太阳膜</a>
                            </div>
                        </div>
                    </div>
                    <div class="header-menu__list-cell active">
                        <a href="/example.html">案例展示</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/service_login.html">服务商</a>
                    </div>
                    <div class="header-menu__list-cell">
                        <a href="/quailty.html">质保查询</a>
                    </div>
                </div>
            </div>
        </div>
    </header>
    <div class="example">
        <div class="banner"><img src="/img/example/banner.png"></div>
        <div class="pageNav">
            <a href="/index.html">首页</a>
            <span class="icon">&gt;</span>
            <span class="current">案例展示</span>
        </div>
        <div class="content">
            <div class="select">
                <div class="select-cell" onclick="toggleModalList()">产品系列<span class="icon">&gt</span></div>
                <div class="select-cell" onclick="toggleModalBrand()">汽车品牌<span class="icon">&gt</span></div>
            </div>
            <div class="list">
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
                <a  href="/example_detail.html" class="list-cell">
                    <div class="img"><img src="/img/home/example-1.png"></div>
                    <p class="name">阿斯玛丁顿 DB11 - 整车亮光改色贴膜</p>
                </a>
            </div>
            <div class="pages">
                <a class="page active">1</a>
                <a class="page">2</a>
                <a class="page">3</a>
                <a class="page">4</a>
                <a class="page">5</a>
                <a class="page">6</a>
                <a class="page">7</a>
                <a class="page">8</a>
                <a class="page">9</a>
                <a class="page">10</a>
                <div class="page next">下一页</div>
            </div>
            <!-- 产品系列 -->
            <div class="modal-list" id="modal-list" style="display: none;">
                <div class="name">
                    <span class="main">透明膜</span>
                    <div class="sub">
                        <a class="sub-name">三摩MAT系列</a>
                        <a class="sub-name">三摩Q系列</a>
                        <a class="sub-name">三摩H系列</a>
                    </div>
                </div>
                <div class="name">
                    <a class="main">改色膜</a>
                </div>
                <div class="name">
                    <a class="main">太阳膜</a>
                </div>
            </div>
            <!-- 汽车品牌 -->
            <div class="modal-brand" id="modal-brand" style="display: none;">
                <div class="title">选择汽车品牌</div>
                <div class="icon"><img src="/img/example/icon.png"></div>
                <div class="modal-content">
                    <div class="brand" id="brand">
                        <a class="name">保时捷</a>
                        <a class="name">英菲尼迪 </a>
                        <a class="name">路虎</a>
                        <a class="name active">奔驰</a>
                        <a class="name">斯柯达</a>
                        <a class="name">雷克萨斯 </a>
                        <a class="name">保时捷</a>
                        <a class="name">英菲尼迪 </a>
                        <a class="name">路虎</a>
                        <a class="name">奔驰</a>
                        <a class="name">斯柯达</a>
                        <a class="name">雷克萨斯 </a>
                        <a class="name">保时捷</a>
                        <a class="name">英菲尼迪 </a>
                        <a class="name">路虎</a>
                        <a class="name">奔驰</a>
                        <a class="name">斯柯达</a>
                        <a class="name">雷克萨斯 </a>
                        <a class="name">保时捷</a>
                        <a class="name">英菲尼迪 </a>
                        <a class="name">路虎</a>
                        <a class="name">奔驰</a>
                    </div>
                </div>
                <div class="close" onclick="toggleModalBrand()">+</div>
                <div class="sure" onclick="sureModalBrand()">确认</div>
            </div>
        </div>
        <script>
            function toggleModalList() {
                var dom = document.getElementById('modal-list')
                if (dom.style.display == 'block') {
                    dom.style.display = 'none'
                } else {
                    dom.style.display = 'block'
                }
            }

            function toggleModalBrand() {
                var dom = document.getElementById('modal-brand')
                if (dom.style.display == 'block') {
                    dom.style.display = 'none'
                } else {
                    dom.style.display = 'block'
                }
            }

            function sureModalBrand() {
                toggleModalBrand()
            }

            document.getElementById('brand').addEventListener('click', function(e){
                var targetDom = e.target
                if (targetDom == this) return
                var brandName = [].slice.call(this.getElementsByClassName('name'))
                for (var index = 0; index < brandName.length; index++) {
                    var element = brandName[index];
                    element.setAttribute('class', 'name')
                }
                targetDom.setAttribute('class', 'name active')
            })
        </script>
    </div>
    <footer class="footer">
        <div class="footer-wrap">
            <div class="logo-wrap">
                <div class="logo"><img src="/img/logo-w.png"></div>
                <div class="logo-txt"><img src="/img/logo-txt-w.png"></div>
            </div>
            <div class="link-wrap">
                <a href="/quoted_transparent.html" class="link"> 产品报价</a>
                <span class="line">｜</span>
                <a href="/quailty.html" class="link">质保查询</a>
                <div class="share">
                    <span>分享：</span>
                    <span id="share-weibo" class="icon"><img src="/img/icon-share-1.png"></span>
                    <span id="share-wx" class="icon"><img src="/img/icon-share-2.png"></span>
                    <span id="share-qq" class="icon"><img src="/img/icon-share-3.png"></span>
                </div>
                <p class="copyright"> Copyright © 2019-2021 三摩, All Rights Reserved </p>
            </div>
            <div class="qrcode-wrap">
                <div class="img"><img src="/img/qrcode.png" alt=""></div>
                <p>扫一扫关注微信小程序</p>
            </div>
        </div>
        <div class="qrcode-wx" id="qrcode-wx" style="display: none;">
            <div class="title"><span>分享到微信朋友圈</span></div>
            <span class="close">+</span>
            <div id="qrcode-wx-img"></div>
            <div class="tip">打开微信“扫一扫”即可分享至朋友圈</div>
        </div>
        <script src="/js/share.js"></script>
    </footer>
</body>
</html>